package wsz.user.service;

import wsz.pojo.Token;
import wsz.util.CommonResult;

/**
 * @author wsz
 * @date 2021/12/27 12:44
 **/
public interface UserService {
    Token modify(Token token);

    Token findByEmailAndPwd(String email, String password);

    Token findByToken(String token);

    int register(String email, String password, String code);

    boolean isRegistered(String email);
}
